#include <conio.h>

void main()
{
    int color;
    for(color = 0;color < 8;color++)
    {
        textbackground(color);
        cprintf("This is color %d\r\n",color);
        cprintf("ress any key to continue\r\n");
        getchar();
    }
}